projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f36d46c
)
(describe-function): Don't pass `nil' as default.
author
Richard M. Stallman
<rms@gnu.org>
Thu, 26 Jan 2006 17:55:32 +0000
(17:55 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Thu, 26 Jan 2006 17:55:32 +0000
(17:55 +0000)
lisp/help-fns.el
patch
|
blob
|
history
diff --git
a/lisp/help-fns.el
b/lisp/help-fns.el
index 14ceacfd92fd4404bb51c17da322abd9af408738..32719275eddfea89b7f10e131de770da9b1a50f9 100644
(file)
--- a/
lisp/help-fns.el
+++ b/
lisp/help-fns.el
@@
-113,7
+113,8
@@
With ARG, you are asked to choose which language."
(setq val (completing-read (if fn
(format "Describe function (default %s): " fn)
"Describe function: ")
- obarray 'fboundp t nil nil (symbol-name fn)))
+ obarray 'fboundp t nil nil
+ (and fn (symbol-name fn))))
(list (if (equal val "")
fn (intern val)))))
(if (null function)